package com.holystone.orca.sys.mybatis.dao;

import java.util.List;
import java.util.Map;

import com.holystone.orca.sys.mybatis.model.SysCompany;
import com.holystone.orca.util.MyMapper;

public interface SysCompanyMapper extends MyMapper<SysCompany> {
	
	public List<SysCompany> getCompanyVO(Map<Object, String> map);//查询company
	public int insertSysCompany(SysCompany sysCompany);//添加company
	public int deleteCompany(int cmpId);//删除指定cmpid的company
	public List<SysCompany> selectUpdateCompany(int cmpId);//查询出要修改的公司信息
	public int updateCompany(SysCompany sysCompany);//修改公司信息
	public List<SysCompany> selectCompany(Map<String, String> map);//按cmpName查询出company
	public List<SysCompany> selectAllCompany();//用于初始化出部门隶属的公司
	
	public int delSelectCompany(List<Integer> list);//多选删除
}